//
//  SAShopListCell.m
//  ShopAssistant
//
//  Created by FangGeek on 2017/11/20.
//  Copyright © 2017年 hyxt. All rights reserved.
//

#import "SAShopListCell.h"

@implementation SAShopListCell


- (void)setDict:(NSDictionary *)dict
{
    _dict = dict;
    self.headerLabel.layer.cornerRadius = 25;
    self.headerLabel.text = [dict[@"shopName"] substringToIndex:1];
    self.headerLabel.backgroundColor = @[SAHEXRGB(0xFE7686),SAHEXRGB(0x73C1FE),SAHEXRGB(0x66DC72),SAHEXRGB(0xFFCB3F)][arc4random() % 4];
    
    self.titleLabel.text = dict[@"shopName"];
}

@end
